<template>
  <n-config-provider
      :theme-overrides="themeOverrides"
      preflight-style-disabled
      :locale="zhCN" :date-locale="dateZhCN"
  >
  <n-message-provider>
  <router-view name="main" />
  </n-message-provider>
  </n-config-provider>
</template>

<script>
import { zhCN, dateZhCN } from 'naive-ui'

export default {
  name: 'App',
  components: {
  },
  data(){
    return{
      zhCN,
      dateZhCN,
      themeOverrides:{
        "Layout": {
          "siderColor": "#000000FF"
        },
        "Menu": {
          "itemColorHover": "rgba(255, 255, 255, 0)",
          "color": "#E1E1E100",
          "itemTextColor": "rgba(182, 182, 182, 1)",
          "itemTextColorHover": "rgba(228, 228, 228, 1)",
          "itemTextColorActive": "#F8FDFFFF",
          "itemTextColorActiveHover": "#FFFFFFFF",
          "itemTextColorChildActive": "#00BEF7FF",
          "itemTextColorChildActiveHover": "#00BEF7FF",
          "itemIconColorChildActiveHover": "#00BEF7FF",
          "itemIconColorChildActive": "#00BEF7FF",
          "itemIconColor": "rgba(216, 216, 216, 1)",
          "itemIconColorHover": "rgba(236, 236, 236, 1)",
          "itemIconColorActive": "#FEFEFEFF",
          "itemIconColorActiveHover": "#FFFFFFFF",
          "arrowColorActive": "#00BEF7FF",
          "arrowColorActiveHover": "#00BEF7FF",
          "arrowColorChildActive": "#00BEF7FF",
          "arrowColorChildActiveHover": "#00BEF7FF",
          "itemColorActive": "rgba(5, 185, 250, 1)",
          "itemColorActiveHover": "rgba(0, 208, 255, 1)",
          "borderRadius": "3px"
        },
        "Tabs": {
          "tabTextColorCard": "rgb(138,138,138)",
          "tabTextColorActiveCard": "#00ACFBFF",
          "tabBorderRadius": "3px",
          "tabFontWeight": "300",
        },
        "Checkbox": {
          "colorChecked": "rgb(0,144,255)",
          "color": "#0000",
          "borderFocus": "1px solid #0090FFFF",
          "boxShadowFocus": "0 0 0 2px rgba(0,144,255,0.40)"
        },
        "Input": {
          "loadingColor": "#08C2F1FF",
          "color": "rgba(255, 255, 255, 1)",
          "colorFocus": "rgba(255, 255, 255, 1)",
          "textColor": "rgba(115, 115, 115, 1)",
          "borderHover": "1px solid rgba(0,128,255,1)",
          "textColorDisabled": "rgba(194, 194, 194, 1)",
          "caretColor": "#838383",
          "borderFocus": "1px solid rgba(0,128,255,1)",
          "boxShadowFocus": "0 0 0 2px rgba(0,128,255,0.4)"
        }
      }
    }
  }
}
</script>

<style>
  *{
    padding: 0;
    margin: 0;
  }
</style>
